package cool.taomu.toolkit.rpc.thrift.server

import org.apache.thrift.protocol.TProtocol
import org.apache.thrift.server.ServerContext
import org.apache.thrift.server.TServerEventHandler
import org.apache.thrift.transport.TTransport
import org.slf4j.LoggerFactory

class ClientInfoServerEventHandler implements TServerEventHandler {
	val static LOG = LoggerFactory.getLogger(ClientInfoServerEventHandler)

	override void preServe() {
		LOG.info("【Thrift Server 启动】")
	}

	override createContext(TProtocol input, TProtocol output) {
	}

	override deleteContext(ServerContext serverContext, TProtocol input, TProtocol output) {
	}

	override processContext(ServerContext serverContext, TTransport inputTransport, TTransport outputTransport) {
	}
}
